<?php
    include_once 'ns_include.php';
    $html = new ns_html();
    
    class ns_html
    {
        public static $nsDatabase;
        
        public function __construct()
        {
            $this->nsDatabase = new ns_dao();
            $this->nsDatabase->connect();
        }
        
        public static function getOpenBody()
        {
            return '<div class="mainBody"><div class="t2"><div class="b2"><div class="l2"><div class="r2"><div class="bl2"><div class="br2"><div class="tl2"><div class="tr2">';
        }

        public static function getCloseBody()
        {
            return '</div></div></div></div></div></div></div></div></div>';
        }

        public static function getOpenTop()
        {
            return '<div class="topBar"><div class="t2"><div class="b2"><div class="l2"><div class="r2"><div class="bl2"><div class="br2"><div class="tl2"><div class="tr2">';
        }

        public static function getCloseTop()
        {
            return '</div></div></div></div></div></div></div></div></div>';
        }

        public static function getOpenLeft()
        {
            return '<div class="leftNavTable"><div class="bl"><div class="br"><div class="tl"><div class="tr">';
        }

        public static function getCloseLeft()
        {
            return '</div></div></div></div><div class="clear">&nbsp;</div></div>';
        }
    }
?>
